feat(macchanger): add --random-mac-vendor flag and improve privacy with --random-mac#438
Merged
Merged
Conversation
… and -mac/--random-mac for full random mac
sorryhack
reviewed
Feb 17, 2026
sorryhack
left a comment
There was a problem hiding this comment.
git clone https://github.com/kimocoder/wifite2.git
cd wifite2
sudo python3 setup.py install
sudo wifite # boom, runs as root
Author
The issue is from the workflow and not the code. Do I need to do anything before you merge my changes? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(args.py): add --random-mac-vendor to keep vendor bytes and --random-mac for full random mac
refactor(config.py): add random mac logic with conflict handling between flags
feat(macchanger.py): allow user to choose between -e (vendor) and -r (full random) for better privacy
Currently --random-mac uses macchanger -e which keeps vendor bytes (first 3 octets)
This leaks manufacturer information and enables device fingerprinting
Changes:
Example:
wifite --random-mac # full random (maximum privacy)
wifite --random-mac-vendor # vendor-preserved (better compatibility)
wifite --random-mac --random-mac-vendor # warns and uses full random
This gives users control over privacy vs compatibility while maintaining
backward compatibility with existing --random-mac usage